#pragma once

class CTVStreamSourceAudioPin : public CTVStreamSourcePin
{
public:
    CTVStreamSourceAudioPin(HRESULT *phr, CSource *pFilter);
	//
	//IMediaSeeking
	virtual HRESULT ChangeStart();
	virtual HRESULT ChangeStop();
	virtual HRESULT ChangeRate();
	//
	HRESULT Active(void);
	//
protected:
	virtual HRESULT OnThreadStartPlay(void);
	virtual HRESULT OnThreadDestroy(void);
	virtual void	RawSync(LONGLONG start);

public:
	//
	STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, void ** ppv);
	//
};